.container {
    width: var(--width-);
    height: 100%;
    margin: 0 auto;

    > .content {
        column-count: var(--count-);
        column-gap: 0.6rem;
        row-gap: 0.6rem;
        padding: 0 0.3rem;

        > .item {
            break-inside: avoid;
            position: relative;
            margin-bottom: 0.6rem;

            &:hover {
                > .mask {
                    opacity: 1;
                }
            }

            > .mask {
                opacity: 0;
                position: absolute;
                width: 100%;
                height: 100%;
                padding: 0.5rem;
                transition: all 0.2s ease;
                background: linear-gradient(
                    0deg,
                    rgba(56, 56, 56, 0.3),
                    rgba(221, 221, 221, 0.1) 50%,
                    rgba(56, 56, 56, 0.3)
                );

                > .top {
                    display: flex;
                    flex-direction: row;
                    justify-content: flex-end;
                    column-gap: 0.2rem;
                }

                > .bottom {
                    width: 100%;
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    position: absolute;
                    bottom: 0.5rem;
                    padding-right: 1rem;

                    > .user {
                        display: flex;
                        flex-direction: row;
                        column-gap: 0.2rem;
                        align-items: center;
                        color: #ffffffcc;
                        font-size: 15px;
                        transition: all 0.2s ease;
                        cursor: pointer;

                        &:hover {
                            color: #ffffff;
                        }
                    }
                }
            }

            > .img {
                display: flex;
                align-items: center;
                justify-content: center;
                overflow: hidden;
                > img {
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }

    .modal {
        width: 100%;
        border-radius: 4px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        margin-top: 40px;
        margin-bottom: 80px;
    }
}
